package com.contract.pojo.bo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

/**
 * Created with IntelliJ IDEA.
 * <p>
 * 合同表
 *
 * @author liw
 * @version 1.0
 * @date 2023/12/29 16:50
 */
@Data
@TableName(value = "BIZ_CONTRACT_INFO")
public class BizContractInfo extends BaseEntity {

    /**
     * The start（有效期开始）
     */
    @TableField(value = "START", updateStrategy = FieldStrategy.IGNORED)
    private LocalDate start;

    /**
     * The end（有效期截至）
     */
    @TableField(value = "END", updateStrategy = FieldStrategy.IGNORED)
    private LocalDate end;

    /**
     * The name（名称）
     */
    @TableField(value = "NAME", updateStrategy = FieldStrategy.IGNORED)
    private String name;

    /**
     * The user id（用户主键）
     */
    @TableField(value = "USER_ID", updateStrategy = FieldStrategy.IGNORED)
    private Long userId;

    /**
     * The template id（模板主键）
     */
    @TableField(value = "TEMPLATE_ID", updateStrategy = FieldStrategy.IGNORED)
    private Long templateId;

    /**
     * The pdf id（文件主键）
     */
    @TableField(value = "PDF_ID", updateStrategy = FieldStrategy.IGNORED)
    private Long pdfId;

    /**
     * The doc id（文件主键）
     */
    @TableField(value = "DOC_ID", updateStrategy = FieldStrategy.IGNORED)
    private Long docId;

    /**
     * The face id（文件主键）
     */
    @TableField(value = "FACE_ID", updateStrategy = FieldStrategy.IGNORED)
    private Long faceId;

    /**
     * The sign face id（文件主键）
     */
    @TableField(value = "SIGN_ID", updateStrategy = FieldStrategy.IGNORED)
    private Long signId;

    /**
     * The state（状态）
     */
    @TableField(value = "STATE", updateStrategy = FieldStrategy.IGNORED)
    private String state;

    /**
     * 失效时间
     */
    @TableField(value = "INVALID_DATE", updateStrategy = FieldStrategy.IGNORED)
    private LocalDate invalidDate;

    /**
     * 失效原因
     */
    @TableField(value = "INVALID_REASON", updateStrategy = FieldStrategy.IGNORED)
    private String invalidReason;

}
